Package-level declarations

Types

Link copied to clipboard
data class ApduResponse(val responseData: ByteArray?, val status: CardReadStatus?) : Parcelable

This holds the response of any APDU-related action.

Link copied to clipboard
data class CardOpenResult(val atr: ByteArray?, val status: CardReadStatus) : Parcelable

Result of attempting to power on the card and open the card reader.

Link copied to clipboard
data class CardReadResult(val uid: String? = null, val nfcData: String? = null, val identityData: EidData? = null, val status: CardReadStatus, val errorMessage: String? = null) : Parcelable

This holds the result of any card related action. This can be a read/write action.

Link copied to clipboard
data class CardReadResultMifareSector(val data: List<MifareSectorData>? = null, val uid: String? = null, val status: CardReadStatus, val message: String? = null) : Parcelable

This holds the result of a mifare sector based card read result card related action. This can be a read/write action.

Link copied to clipboard

The different type of statuses related to a card action.

Link copied to clipboard
data class EidAddress(val streetAndNumber: String? = null, val postalCode: String? = null, val city: String? = null) : Parcelable
Link copied to clipboard
data class EidData(val firstName: String? = null, val lastName: String? = null, val birthDate: String? = null, val nationality: String? = null, val cardNumber: String? = null, val nationalRegisterNumber: String? = null, val gender: String? = null, val placeOfBirth: String? = null, val address: EidAddress? = null, val picture: ByteArray? = null, val validityDate: ValidityDate? = null) : Parcelable
Link copied to clipboard
data class MifareBlockData(val blockIndex: Int, val blockContent: String? = null) : Parcelable

The block data that will be written to the specified block. The block data will contain the keyA and keyB and if keyB is not used it can be filled with data instead.

Link copied to clipboard
data class MifareSectorData(val sectorIndex: Int, val keyA: String? = null, val keyB: String? = null, val blockData: List<MifareBlockData> = emptyList()) : Parcelable

This data class contains the data necessary when reading data from a mifare card. The keys required for authenticating the sector we are attempting to write to should be provided only if we want to use them for authentication. if we provide keyA it will be used and we shouldn't provide keyB.

Link copied to clipboard
data class MifareSectorRequest(val mifareSectors: List<MifareSectorData>, val isBlockDataGlobalIndexed: Boolean) : Parcelable

The data holder for a mifare sector transaction. It will contain the data required for the mifare sector read/write.

Link copied to clipboard
data class ValidityDate(val start: String? = null, val end: String? = null) : Parcelable